package com.sunk.springcloud.dao;

import com.sunk.springcloud.entities.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Auther: Sunk
 * @Date: 2020/3/13 16:06
 * @Description:
 */
@Mapper
public interface PaymentDao extends tk.mybatis.mapper.common.Mapper<Payment> {
    public int create(Payment payment);

    public Payment getPaymentById(@Param("id") Long id);
}
